/* 基础样式重置:使用ai生成 */
* {
    box-sizing: border-box;
    font-family: "Microsoft YaHei", sans-serif;
}

body {
    padding: 30px;
    color: #333;
}

/* 容器样式 */
.container {
    max-width: 1000px;
    margin: 0 auto;
}

/* 标题样式 */
.page-title {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 24px;
    padding-bottom: 10px;
    border-bottom: 2px solid #3498db;
}

/* 操作栏样式 */
.action-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: white;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 15px;
    box-shadow: 0 2px 3px rgba(0,0,0,0.1);
}

/* 按钮样式 */
.btn {
    padding: 8px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #3498db;
    color: white;
}

.btn-primary:hover {
    background-color: #2980b9;
}

.btn-danger {
    background-color: #e74c3c;
    color: white;
}

.btn-danger:hover {
    background-color: #c0392b;
}

.btn-outline {
    background-color: transparent;
    border: 1px solid #3498db;
    color: #3498db;
}

.btn-outline:hover {
    background-color: #3498db;
    color: white;
}

.btn-sm {
    padding: 4px 8px;
    font-size: 12px;
}

/* 搜索框样式 */
.search-box {
    display: flex;
}

.search-box input {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    width: 200px;
}

.search-box button {
    border-radius: 0 4px 4px 0;
}

/* 表格样式 */
.data-table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 3px rgba(0,0,0,0.1);
}

.data-table th,
.data-table td {
    padding: 12px 15px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.data-table th {
    background-color: #f8f9fa;
    font-weight: bold;
    color: #555;
}

.data-table tr:hover {
    background-color: #f9f9f9;
}

/* 复选框样式 */
.checkbox {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* 类型标签样式 */
.type-tag {
    display: inline-block;
    padding: 3px 8px;
    background-color: #e0e0e0;
    border-radius: 12px;
    font-size: 12px;
    color: #555;
}

/* 分页样式 */
.pagination {
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #666;
    font-size: 14px;
}

.pagination-links {
    display: flex;
    gap: 8px;
}

.pagination-links span {
    color: #3498db;
    padding: 5px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.pagination-links span:hover,
.pagination-links span.active {
    background-color: #3498db;
    color: white;
    border-color: #3498db;
}

.pagination-links span.disabled {
    color: #ccc;
    cursor: not-allowed;
    border-color: #ccc;
}

.pagination-links a.disabled:hover {
    background-color: transparent;
    color: #ccc;
}

/* 操作列样式 */
.action-cell {
    display: flex;
    justify-content: center;
    gap: 5px;
}

a{
    text-decoration: none;
}